package cn.gjxblog.aop.autoproxy.demo2;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

//@Component
public class MyMethodInterceptor implements MethodBeforeAdvice {


    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("方法调用前执行逻辑");
    }
}
